luci-app-rp-pppoe-server: change interface handler to NetworkSelect
authorPaul Donald <[email protected]>
Tue, 10 Jun 2025 16:31:12 +0000 (18:31 +0200)
committerPaul Donald <[email protected]>
Tue, 10 Jun 2025 16:31:12 +0000 (18:31 +0200)
Closes #7695

Signed-off-by: Paul Donald <[email protected]>
applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-relay.js
applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-server.js

index 9e22e49a7bff2d0dad91081a93992402b5bcdc21..293e26ede76e156882eff29fb3a5e808064c9ede 100644 (file)
@@ -24,21 +24,21 @@ return view.extend({
 
                o = s.option(form.Flag, 'enabled', _('Enabled'));
 
-               o = s.option(widgets.DeviceSelect, 'server_interface', _('Server Interface'), _('Interface on which to listen. Only PPPoE servers may be connected to this interface.'));
+               o = s.option(widgets.NetworkSelect, 'server_interface', _('Server Interface'), _('Interface on which to listen. Only PPPoE servers may be connected to this interface.'));
                o.multiple = true;
                o.optional = true;
                o.nocreate = true;
                o.rmempty = true;
                o.depends({ enabled: '1' });
 
-               o = s.option(widgets.DeviceSelect, 'client_interface', _('Client Interface'), _('Interface from which to relay. Only PPPoE clients may be connected to this interface.'));
+               o = s.option(widgets.NetworkSelect, 'client_interface', _('Client Interface'), _('Interface from which to relay. Only PPPoE clients may be connected to this interface.'));
                o.multiple = true;
                o.optional = true;
                o.nocreate = true;
                o.rmempty = true;
                o.depends({ enabled: '1' });
 
-               o = s.option(widgets.DeviceSelect, 'both_interface', _('Both Interface'), _('Interface upon which to listen and to relay. Both PPPoE clients and servers may be connected to this interface.'));
+               o = s.option(widgets.NetworkSelect, 'both_interface', _('Both Interface'), _('Interface upon which to listen and to relay. Both PPPoE clients and servers may be connected to this interface.'));
                o.multiple = true;
                o.optional = true;
                o.nocreate = true;
index 4243a042821eb94debaea463137d33b9ab44caac..64577b0187dc6365d203cc79b980c3e57d682c10 100644 (file)
@@ -24,7 +24,7 @@ return view.extend({
 
                o = s.option(form.Flag, 'enabled', _('Enabled'));
 
-               o = s.option(widgets.DeviceSelect, 'interface', _('Interface'), _('Interface on which to listen.'));
+               o = s.option(widgets.NetworkSelect, 'interface', _('Interface'), _('Interface on which to listen.'));
                o.optional = true;
                o.nocreate = true;
                o.rmempty = true;